{extend name="extra@index/base" /}
{block name="title"}SpeedUp外卖{/block}

{block name="css"}

{/block}


{block name='page'}
<style>/**页面css写在这里*/
.card-header {
    color: white;
    background: #0099FF;
}

.list-block {
    margin: 0;
}

.card {
    margin-left: 0;
    margin-right: 0;
}
</style>

{php}

$id=input("id");

$order=db('order')->where('Id',$id)->find();
$shop=db('shop')->where('Id',$order['ShopId'])->find();


{/php}


<!-- 页面开始 -->
<div class="card">
    <div class="card-header"><span class="iconfont icon-xitongfanhui" onclick="$.router.load('/order/',true,'left')"> &nbsp; 订单详细</span>
    </div>
    <div class="card-content">
        <div class="list-block media-list">
            <ul>
                <li class="item-content">
                    <div class="item-media">
                        <img src="http://gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i3/TB10LfcHFXXXXXKXpXXXXXXXXXX_!!0-item_pic.jpg_250x250q60.jpg"
                             width="44">
                    </div>
                    <div class="item-inner">
                        <div class="item-title-row">
                            <div class="item-title">{$shop['ShopName']}</div>
                        </div>
                        <div class="item-subtitle">起送：{$shop['UpPrice']}元</div>
                        <div class="item-subtitle">配送：{$shop['ShipPrice']}元</div>
                    </div>
                </li>
            </ul>
            <div style="text-align: center;margin: 50px;padding-bottom: 80px">
                <div>您的收货验证码是:</div>
                <h1 style="margin: 0">{$order['VerifyCode']|default="无"}</h1>
                <div>请在取货时告诉配送员.</div>
            </div>
        </div>
    </div>

</div>


<!-- 页面结束 -->
{/block}


{block name="base"}
<div class="panel-overlay"></div>
<div class="panel panel-left panel-reveal theme-dark" id='panel-left'>
    <!-- 左边侧栏开始 -->

    <!-- 左边侧栏结束 -->
</div>
{/block}

{block name="js"}
<script>
    var page = new Vue({
        el: '#page'
    })
</script>
{/block